package com.ruike.alisurface.bean;

import com.voodoo.lib_databases.annotation.Id;
import com.voodoo.lib_databases.annotation.Table;

/**
 * Author：voodoo
 * CreateTime：2021/06/25 025 下午 03:44
 * Description：广告的对象
 */
@Table(name = "tab_advTable")
public class AdvBean {

    @Id
    private int _id; // 数据库主键ID
    private String filePath; // 文件路径
    private String title; // 显示的标题

    public AdvBean() {

    }

    private int isImage; // 是否是图片 0是  1不是

    public AdvBean(String filePath, String title, int isImage) {
        this.filePath = filePath;
        this.title = title;
        this.isImage = isImage;
    }

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getIsImage() {
        return isImage;
    }

    public void setIsImage(int isImage) {
        this.isImage = isImage;
    }


    @Override
    public String toString() {
        return "AdvBean{" +
                "_id=" + _id +
                ", filePath='" + filePath + '\'' +
                ", title='" + title + '\'' +
                ", isImage=" + isImage +
                '}';
    }

}
